#include "myqtitk.h"
#include <QtGui/QApplication>
#include <QtGui/QSplashScreen>
#include <QtGui/QPixmap>
#include <QtCore/QTimer>

#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" ) 
int main(int argc, char *argv[])
{
	QApplication a(argc, argv);
	MyQtItk w;
 	QPixmap pixmap(":/MyQtItk/images/splash.png");
 	QSplashScreen *splash = new QSplashScreen(pixmap);
 
 	splash->show();
 
 	QTimer::singleShot(2000, splash, SLOT(hide()));
 	QTimer::singleShot(2000, &w, SLOT(show()));

	//w.show();
	return a.exec();
}
